package com.icloud.admin;



import com.icloud.auth.client.EnableAceAuthClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@EnableJpaAuditing
@MapperScan({"com.icloud.**.query"})
@EnableEurekaClient
@EnableCircuitBreaker
@EnableFeignClients({"com.icloud.auth.client.feign"})
@EnableScheduling
@EnableAceAuthClient
public class AdminServerBootstrap {
	public static void main(String[] args) {
		SpringApplication.run(AdminServerBootstrap.class, args);
	}


}
